﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002EB RID: 747
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClearAetherDividePassiveSkillCsReq : IMessage<ClearAetherDividePassiveSkillCsReq>, IMessage, IEquatable<ClearAetherDividePassiveSkillCsReq>, IDeepCloneable<ClearAetherDividePassiveSkillCsReq>, IBufferMessage
	{
		// Token: 0x170009A4 RID: 2468
		// (get) Token: 0x06002156 RID: 8534 RVA: 0x0005E2ED File Offset: 0x0005C4ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClearAetherDividePassiveSkillCsReq> Parser
		{
			get
			{
				return ClearAetherDividePassiveSkillCsReq._parser;
			}
		}

		// Token: 0x170009A5 RID: 2469
		// (get) Token: 0x06002157 RID: 8535 RVA: 0x0005E2F4 File Offset: 0x0005C4F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClearAetherDividePassiveSkillCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170009A6 RID: 2470
		// (get) Token: 0x06002158 RID: 8536 RVA: 0x0005E306 File Offset: 0x0005C506
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClearAetherDividePassiveSkillCsReq.Descriptor;
			}
		}

		// Token: 0x06002159 RID: 8537 RVA: 0x0005E30D File Offset: 0x0005C50D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClearAetherDividePassiveSkillCsReq()
		{
		}

		// Token: 0x0600215A RID: 8538 RVA: 0x0005E315 File Offset: 0x0005C515
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClearAetherDividePassiveSkillCsReq(ClearAetherDividePassiveSkillCsReq other) : this()
		{
			this.slot_ = other.slot_;
			this.avatarId_ = other.avatarId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600215B RID: 8539 RVA: 0x0005E346 File Offset: 0x0005C546
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClearAetherDividePassiveSkillCsReq Clone()
		{
			return new ClearAetherDividePassiveSkillCsReq(this);
		}

		// Token: 0x170009A7 RID: 2471
		// (get) Token: 0x0600215C RID: 8540 RVA: 0x0005E34E File Offset: 0x0005C54E
		// (set) Token: 0x0600215D RID: 8541 RVA: 0x0005E356 File Offset: 0x0005C556
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Slot
		{
			get
			{
				return this.slot_;
			}
			set
			{
				this.slot_ = value;
			}
		}

		// Token: 0x170009A8 RID: 2472
		// (get) Token: 0x0600215E RID: 8542 RVA: 0x0005E35F File Offset: 0x0005C55F
		// (set) Token: 0x0600215F RID: 8543 RVA: 0x0005E367 File Offset: 0x0005C567
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarId
		{
			get
			{
				return this.avatarId_;
			}
			set
			{
				this.avatarId_ = value;
			}
		}

		// Token: 0x06002160 RID: 8544 RVA: 0x0005E370 File Offset: 0x0005C570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClearAetherDividePassiveSkillCsReq);
		}

		// Token: 0x06002161 RID: 8545 RVA: 0x0005E37E File Offset: 0x0005C57E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClearAetherDividePassiveSkillCsReq other)
		{
			return other != null && (other == this || (this.Slot == other.Slot && this.AvatarId == other.AvatarId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002162 RID: 8546 RVA: 0x0005E3BC File Offset: 0x0005C5BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Slot != 0U)
			{
				num ^= this.Slot.GetHashCode();
			}
			if (this.AvatarId != 0U)
			{
				num ^= this.AvatarId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002163 RID: 8547 RVA: 0x0005E414 File Offset: 0x0005C614
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002164 RID: 8548 RVA: 0x0005E41C File Offset: 0x0005C61C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002165 RID: 8549 RVA: 0x0005E428 File Offset: 0x0005C628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AvatarId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.AvatarId);
			}
			if (this.Slot != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Slot);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002166 RID: 8550 RVA: 0x0005E480 File Offset: 0x0005C680
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Slot != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Slot);
			}
			if (this.AvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002167 RID: 8551 RVA: 0x0005E4D8 File Offset: 0x0005C6D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClearAetherDividePassiveSkillCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Slot != 0U)
			{
				this.Slot = other.Slot;
			}
			if (other.AvatarId != 0U)
			{
				this.AvatarId = other.AvatarId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002168 RID: 8552 RVA: 0x0005E528 File Offset: 0x0005C728
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002169 RID: 8553 RVA: 0x0005E534 File Offset: 0x0005C734
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 40U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Slot = input.ReadUInt32();
					}
				}
				else
				{
					this.AvatarId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000D99 RID: 3481
		private static readonly MessageParser<ClearAetherDividePassiveSkillCsReq> _parser = new MessageParser<ClearAetherDividePassiveSkillCsReq>(() => new ClearAetherDividePassiveSkillCsReq());

		// Token: 0x04000D9A RID: 3482
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D9B RID: 3483
		public const int SlotFieldNumber = 5;

		// Token: 0x04000D9C RID: 3484
		private uint slot_;

		// Token: 0x04000D9D RID: 3485
		public const int AvatarIdFieldNumber = 1;

		// Token: 0x04000D9E RID: 3486
		private uint avatarId_;
	}
}
